package com.vincent.sciinfo.service;

import com.vincent.sciinfo.interceptor.FeignPassToken;
import com.vincent.sciinfo.pojo.Source;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-source", configuration = FeignPassToken.class)
public interface SourceService {

    @RequestMapping("/source/isExistsPaperFile")
    Source isExistsPaperFile(@RequestParam String paperOriginalName);
}
